package cn.xo68.ide.plugin.action;

import cn.xo68.ide.plugin.common.component.StarupApplicationComponent;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;

public class UpdateDataAction extends AnAction {

    @Override
    public void actionPerformed(AnActionEvent e) {
        StarupApplicationComponent.getInstance().setLastOperateProject(e.getProject());
        StarupApplicationComponent.getInstance().gitPull();
    }
}
